<template>
    <div>
        <el-table  :border="Global.tableShowBorder" :data="scoreList" >
            <el-table-column label="" align="center" prop="typeName" :align="'center'">

            </el-table-column>
            <el-table-column label="最高分" align="center" prop="maxV" :align="'center'">

            </el-table-column>
            <el-table-column label="最低分" align="center" prop="minV" :align="'center'">

            </el-table-column>
            <el-table-column label="平均分" align="center" prop="avgV" :align="'center'">

            </el-table-column>

        </el-table>
        <TableCard>
            <el-table  :border="Global.tableShowBorder" :data="radioList" style="margin-top: 50px;">
                <el-table-column label="分数段" align="center" prop="radioName" :align="'center'"></el-table-column>
                <el-table-column label="<60" align="center" prop="level1" :align="'center'"></el-table-column>
                <el-table-column label="60-69.5" align="center" prop="level2" :align="'center'"></el-table-column>
                <el-table-column label="70-79.5" align="center" prop="level3" :align="'center'"></el-table-column>
                <el-table-column label="80-89.5" align="center" prop="level4" :align="'center'"></el-table-column>
                <el-table-column label=">90" align="center" prop="level5" :align="'center'"></el-table-column>
            </el-table>
        </TableCard>

    </div>
</template>

<script>
import {calcStudentRadio} from "@/api/stu/score";



export default {
    props: {
        // scoreList: {
        //     type: Array,
        //     default: []
        // },
        // radioList: {
        //     type: Array,
        //     default: []
        // },
    },
    data() {
        return {
            scoreList:[],
            radioList:[]
        }
    },
    mounted() {
    },
    methods: {
        setListData(scoreList,radioList) {
            this.scoreList = scoreList;
            console.log(this.scoreList)
            this.radioList = radioList
        }
    }
}
</script>
